<?php

abstract class TemplateHelper {
	
	public static function template($template) {
		include VIEW . '/templates/'. $template . EXT ;
	}
	
	public static function getUrl($controller, $method) {
		$url = 'index.php';
		
		if (!empty($controller) && !empty($method)) {
			$url .= '?c=' . $controller . '&m=' . $method;
		}
		
		return $url;
	}
	
	public static function getCssUrl() {
		$url = 'resources/css/';
		
		return $url;
	}
	
	public static function getJsUrl() {
		$url = 'resources/js/';
	
		return $url;
	}
}